import {fetchGet} from  './axios'
//获取轮播
export function getBannerList() {
  return fetchGet('/banner')
}
//获取榜单
export function getToplist(){
  return fetchGet('/toplist/detail')
}
// 获取榜单详情
export function getListDetail(params){
    return fetchGet('/playlist/detail', params)
}
//搜索歌曲
export function getSearchSong(params){
  return fetchGet('/search',params)
}
//获取热搜
export function getSearchHotSong(){
  return fetchGet('/search/hot/detail')
}
// 获取歌曲详情
export function getSongDetail(params){
  return fetchGet('/song/detail',params)
}

//获取歌曲地址
export function getSongUrl(params){
  return fetchGet('/song/url',params)
}

//获取歌词
export function getLyric(params){
  return fetchGet('/lyric',params)
}

